class Sender < ActiveRecord::BaseWithoutTable

  column :name, :string
  column :email, :string
  column :url, :string
  column :message, :text

  validates_format_of   :email, :with => /^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/, 
								        :message => "invalid_sender_address"

  validates_presence_of :name, :message => 'invalid_sender_name'

end